You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(web): center the Connections map zoom controls - #41081
The zoom controls sat against the top of the Connections map footer, with 8 px of padding below. Use 4 px of padding above and below to move the minus, plus, and fit controls down 4 px and center them alongside the legend. The footer keeps the same height.
Before
After
Verified in Chromium 158 on Linux at 1280 × 800. Both zoom buttons changed the map scale, and Fit restored the default view. vp run check:changed passed on the exact head diff. Captures compare a3323d4a433a1a4d074e402083df15c63db1a32c and 6dc90a87fb62c8cf76759de7abb07843a465556d. The optional Two-way legend entry and the Electron wrapper were not exercised.
Implemented with Claude Opus 5.5 (Claude Agent). Verified with GPT-6.2 Sol and reviewed with GPT-6.1 Sol (Codex).
This change centers the Connections map legend against the zoom and fit controls and removes the legend's extra bottom padding. It is a small visual layout fix with no expected functional or production impact, and no merge-blocking risk is apparent.
Pre-merge checks: 3 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Title check
The title says the Connections map zoom controls are centered, but the raw summary and PR objectives describe a footer layout change that moves the legend's padding and removes its bottom padding to a…
Rename the title to describe the actual change, for example: "fix(web): center the Connections map legend with zoom controls". The title should match the PR objective of aligning the legend with the footer controls.
Passed checks: 3 passed
Check name
Status
Explanation
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description check
The description states the problem (zoom controls sit against the top of the footer), the change (4 px padding above and below), and verification steps (Chromium 158 on Linux, zoom and fit tested, che…
Full details: Description check
Explanation
The description states the problem (zoom controls sit against the top of the footer), the change (4 px padding above and below), and verification steps (Chromium 158 on Linux, zoom and fit tested, check:changed passed, before/after screenshots). It does not fully fit the template. The Scope section is missing: it does not link an issue or explain why no issue is needed, and it does not say whether a maintainer requested the PR. The description also says the controls move to be centered with the legend, which conflicts with the objective of moving the legend. The description is mostly complete, so it passes with the gaps noted.
Full details: Title check
Explanation
The title says the Connections map zoom controls are centered, but the raw summary and PR objectives describe a footer layout change that moves the legend's padding and removes its bottom padding to align the legend with the controls. The title names the controls as the thing being centered, while the change centers the legend alongside them, so the title misdescribes the main change. The title is still partially related because the footer layout and the zoom controls are both involved.
Resolution
Rename the title to describe the actual change, for example: "fix(web): center the Connections map legend with zoom controls". The title should match the PR objective of aligning the legend with the footer controls.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size:XS0-9 changed lines (additions + deletions).takeover:blockedTakeover blocked; reason in the PR bodyvouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The zoom controls sat against the top of the Connections map footer, with 8 px of padding below. Use 4 px of padding above and below to move the minus, plus, and fit controls down 4 px and center them alongside the legend. The footer keeps the same height.
Verified in Chromium 158 on Linux at 1280 × 800. Both zoom buttons changed the map scale, and Fit restored the default view.
vp run check:changedpassed on the exact head diff. Captures comparea3323d4a433a1a4d074e402083df15c63db1a32cand6dc90a87fb62c8cf76759de7abb07843a465556d. The optional Two-way legend entry and the Electron wrapper were not exercised.Implemented with Claude Opus 5.5 (Claude Agent). Verified with GPT-6.2 Sol and reviewed with GPT-6.1 Sol (Codex).